package dfsketches.gr3d;

public class GraphTest {

	/**
	 * @param args
	 */
	
	public static void main(String[] args) {
		RenderingInfo rinf = new RenderingInfo(800, 600);
		Renderer r = new SolidRenderer(rinf.getBitmap(), 800, 600);
//		Renderer r = new SolidZLinearRenderer(rinf.getBitmap(), rinf.getObjects());
		Cutter cut = new SimpleCutter(r);
//		Cutter cut = new ExtendedCutter(r);
		
		Scene sc = new TestingScene();
		World wrld = new World(sc);
		
		Controller control = new ControllerImpl(sc, wrld);
		Window w = new Window(rinf.getBitmap(), 800, 600, control);

		Thread reanimationThread = new ReanimationThread(sc, rinf, r, cut, w, 1);
		reanimationThread.setDaemon(false);
		reanimationThread.start();
	}
	
}